![Introducing Enhanced Alert Actions and Triage Functionality](https://cdn.sanity.io/images/cgdhsj6q/production/fe71306d515f85de6139b46745ea7180362324f0-2530x946.png?w=800&fit=max&auto=format)
Product
Introducing Enhanced Alert Actions and Triage Functionality
Socket now supports four distinct alert actions instead of the previous two, and alert triaging allows users to override the actions taken for all individual alerts.
jpeg-exif
Advanced tools
Readme
Get exif information from jpeg format file. Works with TIFF too!
import exif from "jpeg-exif";
const filePath = "~/Photo/IMG_0001.JPG";
exif.parse(filePath, (err, data) => {
if (err) {
console.log(err);
} else {
console.log(data);
}
});
import exif from "jpeg-exif";
const filePath = "~/Photo/IMG_0001.JPG";
const data = exif.parseSync(filePath);
console.log(data);
import fs from "fs";
import exif from "jpeg-exif";
const filePath = "~/Documents/DOC_0001.TIFF";
const buffer = fs.readFileSync(filePath);
const data = exif.fromBuffer(buffer);
console.log(data);
$ npm i jpeg-exif
{
"Make": "Apple",
"Model": "Apple",
//...
"SubExif": [
"DateTimeOriginal": "2015:10:06 17:19:36",
"CreateDate": "2015:10:06 17:19:36",
//...
],
"GPSInfo":[
"GPSLatitudeRef": "N",
"GPSLatitude": [ 35, 39, 40.08 ],
//...
]
}
FAQs
Use for parse .jpg file exif info (including GPS info.).
The npm package jpeg-exif receives a total of 103,213 weekly downloads. As such, jpeg-exif popularity was classified as popular.
We found that jpeg-exif demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Socket now supports four distinct alert actions instead of the previous two, and alert triaging allows users to override the actions taken for all individual alerts.
Security News
Polyfill.io has been serving malware for months via its CDN, after the project's open source maintainer sold the service to a company based in China.
Security News
OpenSSF is warning open source maintainers to stay vigilant against reputation farming on GitHub, where users artificially inflate their status by manipulating interactions on closed issues and PRs.